<html>
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta charset="utf-8" />
    <meta name="renderer" content="webkit" />
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=yes"
    />
    <meta
      name="keywords"
      content="CNC,模具,模型,SLS,3D打印,3D,报价,SLA,3D打印服务,在线3D打印,3D打印艺术品,3D打印生活创意,3D打印玩具,3D打印灯罩,D打印自动报价,FDM,3D打印手机壳,手机壳定制,3D打印人像定制,3D打印浮雕灯罩定制"
    />
    <meta name="format-detection" content="telephone=yes" />
    <title>3d公司</title>
    <link rel="stylesheet" type="text/css" href="/css/base.css" />
    <link rel="stylesheet" type="text/css" href="/css/swiper.css" />
    <script type="text/javascript" src="/js/jquery-2.1.0.js"></script>
    <script type="text/javascript" src="/js/swiper.js"></script>
  
  </head>
  <body>
    <div id="app" class="app">
      <div class="header flex">
        <div class="logo flex">
          <img src="/image/logo.png" alt="" />
       
        </div>
        <div class="nav flex">
          <div class="nav_list">
            <p class="nav_list_father red">首页</p>
          </div>
          <div class="nav_list">
            <p class="nav_list_father">3D打印</p>
            <div class="nav_list_child">
              <p class="nav_list_grandson">SLA固化成型</p>
              <p class="nav_list_grandson">3D打印设备展示</p>
            </div>
          </div>
          <div class="nav_list">
            <p class="nav_list_father">CNC加工</p>
            <div class="nav_list_child">
              <p class="nav_list_grandson">CNC塑料加工</p>
              <p class="nav_list_grandson">CNC设备展示</p>
            </div>
          </div>
          <div class="nav_list">
            <p class="nav_list_father">硅胶复模</p>
            <div class="nav_list_child">
              <p class="nav_list_grandson">真空复膜</p>
              <p class="nav_list_grandson">复膜设备展示</p>
            </div>
          </div>
          <div class="nav_list">
            <p class="nav_list_father">行业案例</p>
            <div class="nav_list_child">
              <p class="nav_list_grandson">汽车</p>
              <p class="nav_list_grandson">机器人</p>
            </div>
          </div>
          <div class="nav_list">
            <p class="nav_list_father">关于我们</p>
            <div class="nav_list_child">
              <p class="nav_list_grandson">企业简介</p>
              <p class="nav_list_grandson">公司文化</p>
              <p class="nav_list_grandson">联系方式</p>
              <p class="nav_list_grandson">在线留言</p>
            </div>
          </div>
        </div>
      </div>
      <!-- 右边栏菜单 -->
      <div class="right_nav">
        <div class="item">
          <i class="custom"></i>
          <span>联系客服</span>
        </div>
        <div class="item">
          <i class="phone"></i>
          <span style="font-size: 13px">0755-00000009</span>
        </div>
        <div class="item">
          <i class="edit"></i>
          <span>在线报名</span>
        </div>
        <div class="code">
          <span>APP下载</span>
        </div>
        <div class="item">
          <i class="top"></i>
          <span>返回顶部</span>
        </div>
      </div>
    
      <!-- 内容 -->
      <div id="center" class="center">
        <div class="homepage">
          <p class="case_title">新闻资讯</p>
          <div class="new_box flex">
            <div class="news_left_img">
              <img src="/image/news-left.png" />
            </div>
            <div class="news_right flex">
              <div class="news_right_item flex">
                <img src="/image/one.png" />
                <div class="new_xq">
                  <p class="news_title">2021年春节放假通知</p>
                  <p class="news_explain">
                    根据国家关于2021年节假日的安排，并结合我司实际情况，并结合我司实际情况根据国家关于2021年节假日的安排，并结合我司实际情况，并结合我司实际情况
                  </p>
                  <p class="news_time">2020-01-23</p>
                </div>
              </div>
              <div class="news_right_item flex">
                <img src="/image/two.png" />
                <div class="new_xq">
                  <p class="news_title">2021年春节放假通知</p>
                  <p class="news_explain">尊敬的万匠智合客户：</p>
                  <p class="news_time">2020-01-23</p>
                </div>
              </div>
              <div class="news_right_item flex">
                <img src="/image/three.png" />
                <div class="new_xq">
                  <p class="news_title">2021年春节放假通知</p>
                  <p class="news_explain">尊敬的万匠智合客户：</p>
                  <p class="news_time">2020-01-23</p>
                </div>
              </div>
            </div>
          </div>
        </div>
       
      </div>
      <!-- 底部 -->
      <div class="footer flex">
        <img src="/image/logo.png" alt="logo" class="logo_img" />
        <p class="Copyright">
          Copyright © 2021 深圳市万匠智合快速成型技术有限公司 All Rights
          Reserved
          <a target="view_window" href="http://www.miit.gov.cn/"
            >粤ICP备18138431号-1</a
          >
        </p>
      
      </div>
    </div>
  </body>
  <script type="text/javascript" src="/js/index.js"></script>
  <script type="text/javascript">
    $(function () {
      var swiper = new Swiper("#case_swiper", {
        loop: true, //允许从第一张到最后一张，或者从最后一张到第一张  循环属性
        slidesPerView: 4, // 设置显示三张
        //centeredSlides : true,     //使当前图片居中显示
        freeMode: true, // 使幻灯片滑动时不止滑动一格，且不会自动贴合
        slidesPerGroup: 1, //定义1张图片为一组
        autoplay: true, //可选选项，自动滑动
        speed: 5000, //设置过度时间
        grabCursor: true, //鼠标样式根据浏览器不同而定
        autoplay: {
          delay: 1,
          disableOnInteraction: false,
        } /*  设置每隔3000毫秒切换 */,
        //分页器
        pagination: {
          el: ".swiper-pagination",
          clickable: true,
        },
        scrollbar: {
          el: ".swiper-scrollbar",
          hide: true,
        },
      });
      /* 鼠标悬停 停止动画 */
      $(".swiper-slide").mouseenter(function () {
        swiper.autoplay.stop();
      });
      $(".swiper-slide").mouseleave(function () {
        swiper.autoplay.start();
      });

      // 轮播图
      function bannerMove(obj) {
        var index = 0;
        var _thatFlag = true;
        var _that = $(obj.el);
        var _length = _that.find("li").length;
        var a_prev = index - 1 < 0 ? "-1" : index - 1;
        var a_next = index + 1 >= _length ? "0" : index + 1;
        var timer;
        _that.append(
          "<div class='banner-btn'><span class='banner-btn-prev'></span><span class='banner-btn-next'></span></div>"
        );
        if (_length < 4) {
          if (_length < 2) {
            _that.find("li").eq(index).addClass("on");
            return false;
          } else {
            for (let i = 0; i < 4 - _length; i++) {
              var tempHtml = _that.find("li").eq(i).html();
              _that.find("ul").append("<li>" + tempHtml + "</li>");
            }
          }
        }
        _that.find("li").css({
          left: "-1400px",
          "z-index": "1",
        });
        _that
          .find("li")
          .eq(index - 1)
          .css({
            left: "-400px",
            "z-index": "2",
          });
        _that.find("li").eq(index).css({
          left: "0px",
          "z-index": "3",
        });
        _that
          .find("li")
          .eq(index + 1)
          .css({
            left: "400px",
            "z-index": "2",
          });
        _that.find("li").eq(index).addClass("on");

        _that.on("click", ".banner-btn-prev", function () {
          if (_thatFlag) {
            _thatFlag = false;
            main(1);
          }
        });
        _that.on("click", ".banner-btn-next", function () {
          if (_thatFlag) {
            _thatFlag = false;
            main(0);
          }
        });
        clearInterval(timer);
        timer = setInterval(function () {
          main(0);
        }, 5000);
        _that.hover(
          function () {
            clearInterval(timer);
          },
          function () {
            clearInterval(timer);
            timer = setInterval(function () {
              main(0);
            }, 5000);
          }
        );
        function main(fx) {
          if (fx) {
            // console.log("左")
            if (index > _length - 1) index = 0;
            a_prev = index - 1 < 0 ? "-1" : index - 1;
            a_next = index + 1 >= _length ? "0" : index + 1;
            _that.find("li").eq(-1).prependTo(_that.find("li").parent());
            _that
              .find("li")
              .eq(a_prev)
              .css({
                left: "-800px",
                "z-index": "1",
              })
              .animate({
                left: "-400px",
                "z-index": "1",
              });
            _that
              .find("li")
              .eq(index)
              .css({
                left: "-400px",
                "z-index": "3",
              })
              .animate({
                left: "0px",
                "z-index": "3",
              });
            _that
              .find("li")
              .eq(a_next)
              .css({
                left: "0px",
                "z-index": "2",
              })
              .animate({
                left: "400px",
                "z-index": "2",
              });
            _that
              .find("li")
              .eq(a_next + 1)
              .css({
                left: "400px",
                "z-index": "1",
              })
              .animate(
                {
                  left: "800px",
                  "z-index": "0",
                },
                function () {
                  _thatFlag = true;
                }
              );
            _that.find("li").eq(0).addClass("on").siblings().removeClass("on");
          } else {
            // console.log("右")
            if (index > _length - 1) index = 0;
            a_prev = index - 1 < 0 ? "-1" : index - 1;
            a_next = index + 1 >= _length ? "0" : index + 1;
            _that
              .find("li")
              .eq(a_prev)
              .css({
                left: "-400px",
                "z-index": "1",
              })
              .animate({
                left: "-800px",
                "z-index": "1",
              });
            _that
              .find("li")
              .eq(index)
              .css({
                left: "0px",
                "z-index": "2",
              })
              .animate({
                left: "-400px",
                "z-index": "2",
              });
            _that
              .find("li")
              .eq(a_next)
              .css({
                left: "400px",
                "z-index": "3",
              })
              .animate({
                left: "0px",
                "z-index": "3",
              });
            _that
              .find("li")
              .eq(a_next + 1)
              .css({
                left: "800px",
                "z-index": "2",
              })
              .animate(
                {
                  left: "400px",
                  "z-index": "2",
                },
                function () {
                  _that.find("li").eq(0).appendTo(_that.find("li").parent());
                  _thatFlag = true;
                }
              );
            _that.find("li").eq(1).addClass("on").siblings().removeClass("on");
          }
        }
      }
      var myMove = new bannerMove({
        el: ".bannerBox .banner",
      });
    });
  </script>
</html>
